package club.hicode.daydayup.monitor;


import cn.hutool.system.OsInfo;

public class SystemTypeFactory {


	public static ICollector getSystemCollector() {
		OsInfo osInfo = new OsInfo();
		if (osInfo.isLinux()) {
			return new LinuxProcessCollector();
		}
		return new WinProcessCollector();
	}

}
